-
Couldn't load subscription status.
- Fork 928
MPI_T: add code to check obj_handle arg #13348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@devreal could you recheck this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a grammar fix, otherwise looks good
| opal_class_t *opal_class; | ||
| const char *obj_name = NULL; | ||
|
|
||
| /* we are actually evaulating a pointer to an OMPI MPI opaque handle */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /* we are actually evaulating a pointer to an OMPI MPI opaque handle */ | |
| /* we are actually evaluating a pointer to an OMPI MPI opaque handle */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I guess this should be squashed before merge.
Three MPI_T methods - for pvar, cvar, events, can bind one of these objects to an arbitrary MPI object. There was verbiage added to the MPI 4.1 standard which states its erroneous to bind one of these 'T' objects to an invalid MPI object. This PR adds code to make an effort at checking the validity of the arbitrary MPI object argument. We don't bother with events since only a stub implementation is currently present. Related to issue open-mpi#12185. Signed-off-by: Howard Pritchard <[email protected]>
Three MPI_T methods - for pvar, cvar, events, can bind one of these objects to an arbitrary MPI object.
There was verbiage added to the MPI 4.1 standard which states its erroneous to bind one of these 'T' objects to an invalid MPI object. This PR adds code to make an effort at checking the validity of the arbitrary MPI object argument.
We don't bother with events since only a stub implementation is currently present.
Related to issue #12185.